package com.itheima.web.domain;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: User
 * @Description:
 * @Author liulihui
 * @Date: 2021/8/1 18:00
 * @URL：
 * @Version 1.0
 */
public class User {
    private String username;
    private String password;
    private List hobbies;
    private int age;
    private String email;
    private int gender;
    private Date birthday;

    public User(String username, String password, List hobbies, int age, String email, int gender, Date birthday) {
        this.username = username;
        this.password = password;
        this.hobbies = hobbies;
        this.age = age;
        this.email = email;
        this.gender = gender;
        this.birthday = birthday;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", hobbies=" + hobbies +
                ", age=" + age +
                ", email='" + email + '\'' +
                ", gender=" + gender +
                ", birthday=" + birthday +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List getHobbies() {
        return hobbies;
    }

    public void setHobbies(List hobbies) {
        this.hobbies = hobbies;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}